<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>   Menu Principal do Professor   </title>
        <link href="../templatemo_style.css" rel="stylesheet" type="text/css" />
        <!-- embedding SWF -->
        <script type="text/javascript" src="../JavaScript/swfobject.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            flashvars.xml_file = "../Flash/photo_list.xml";
            var params = {};
            params.wmode = "transparent";
            var attributes = {};
            attributes.id = "slider";
            swfobject.embedSWF("../Flash/flashmo_225_bar_slider.swf", "flashmo_slider", "720", "280", "9.0.0", false, flashvars, params, attributes);
        </script>


        <!-- embedding SWF -->

    </head>
    <body>

        <div id="templatemo_wrapper">
            <div id="templatemo_header">
                <div id="site_title">
                    <a href="sc.chinaz.com" target="_parent"><span><h1><b><i>Portal de apoio Aluno/Professor</i></b></h1></span></a>
                </div>
            </div> <!-- end of header -->

            <div id="templatemo_main">

                <div id="templatemo_sidebar">

                    <div id="templatemo_menu">
                        <ul>
                            <li><a href="menuProfessorPrincipal.html" class="homeProfessor current_homeProfessor">  <b>Menu Professor</b> </a></li>
                            <ol>
                                <li><a href="menuProfessorPrincipal.html" class="aluno current_aluno">  Aluno </a></li>
                                <li><a href="menuProfessorPrincipal.html" class="disciplina current_disciplina">  Disciplina </a></li>

                                <li><a href="menuProfessorPrincipal.html" class="avisos current_avisos">  Avisos</a></li>
                            </ol>

                        </ul>    	
                    </div> <!-- end of templatemo_menu -->

                    <div class="sidebar_box">
                        <h4><b>Avisos gerais </b></h4>
                        <div class="sidebar_news_box">
                            <a href="#"><strong>Calendario Academico</strong></a>
                            <p> Segue em pdf o calendario do ano de 2014.</p>
                        </div>

                        <div class="sidebar_news_box">
                            <a href="#"><strong>Horario de Atendimento</strong></a>
                            <p>Veja a atualização do horario de antendimento .</p>
                            <p>Disciplina WEB- Professor Jeiks .</p>
                        </div>

                        <div class="sidebar_news_box last_box">
                            <a href="#"> <strong>mais avisos</strong></a>
                        </div>
                    </div>
                    <div class="sidebar_box">
                        <h4>Informaçoes Gerais</h4>
                        Trabalho elaborado na disciplina <br />
                        Desenvolvimento Web<br />
                        por Bhetynna Catalunha e <br />
                        Thalyta Moraes sob orientação<br />
                        do  professor Jeiks  <br />


                    </div>

                </div> <!-- end of sidebar -->

                <div id="templatemo_content_wrapper">

                    <div id="social_box">
                        <ul>

                        </ul>
                        <div class="cleaner"></div>
                    </div> <!-- end of social box -->

                    <div id="page_intro_flash">

                        <!-- bar slider SWF -->
                        <div id="flashmo_slider">

                            <br /><br /><a href="http://www.flashmo.com/preview/flashmo_225_bar_slider" target="_blank">Flash XML Bar Slider</a><br /><br />

                            <a href="http://www.adobe.com/go/getflashplayer">

                                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />

                            </a><br /><br />

                        </div>
                        <!-- bar slider SWF -->


                    </div> <!-- end of page intro -->

                    <div id="templatmeo_content">
                        <h2><i><b>Cadastro de Turma </b></i></h2>
                        <p></p>  
                        <div class="content_box last_box">
                            <form method="post" name="contact" action="../Post/TurmaPost.php">

                                <fieldset>
                                    <legend> <h5><b> Cadastrar turma  </b></h5></legend>

                                    <div id="user_div">
                                        <label for="author"> <h6>Nome da turma:</h6></label> 
                                        <input type="text" id="nomeTurma" name="nomeTurma" size="50" maxlength="50" onMouseOver="this.focus()" class="cxtext" />
                                    </div>
                                    <div id="disciplina">
                                        <label ><h6> Disciplina  :</h6></label> 
                                        <select name="disciplina">
                                                <?php
                                                include_once '../DAO/DisciplinaDAO.php';
                                                $DAO = new DisciplinaDao();
                                                $DAO->__initialize();
                                                ?>
                                                <option value="vazio"> </option>
                                                <?php
                                                echo $DAO->__retornaDisciplinas();
                                                $DAO->__finalize();
                                                ?>  
                                        </select>
                                    </div>
                                    <div id="alunos">

                                        <div id="turma">

                                            <label><h6>Descrição da turma:</h6></label>
                                            <p>
                                                <textarea id="descricao" name="descricao" rows="7" cols="23" class="required"></textarea>
                                            </p>
                                        </div>
                                        <p>
                                            <label for="alunos:"> <h6> Selecionar Alunos:</h6></label> 
                                        </p>
                                        <table border="1">

                                            <?php
                                            include_once '../DAO/AlunoDAO.php';
                                            $DAO = new AlunoDao();
                                            $DAO->__initialize();
                                            echo $DAO->__retornaAlunos();
                                            $DAO->__finalize();
                                            ?>
                                        </table>
                                        <br>
                                            Selecionar Professor:
                                            <select name="professor">
                                                <?php
                                                include_once '../DAO/ProfessorDAO.php';
                                                $DAO = new ProfessorDao();
                                                $DAO->__initialize();
                                                ?>
                                                <option value="vazio"> </option>
                                                <?php
                                                echo $DAO->__retornaProfessores();
                                                $DAO->__finalize();
                                                ?>  
                                            </select>
                                    </div>

                                    <div id="botoes">
                                        <p> </p>
                                        <input type="submit" class="submit_btn" name="submit" id="submit" style="font-size:14px" value="Cadastrar" />
                                        <input type="reset" class="submit_btn" name="reset" id="reset" style="font-size:14px" value="Cancelar" />

                                    </div>

                                </fieldset> 
                            </form>                     
                        </div>


                    </div> <!-- end of content -->
                    <div id="templatemo_content_bottom"></div>

                </div> <!-- end of content -->

                <div class="cleaner"></div>
            </div> <!-- end of main -->

            <div id="templatemo_footer">

                <a href="index.html" class="current">Home</a> 

                <div class="cleaner h10"></div>

                Copyright © 2048 <a href="#">Your Company Name</a> 

            </div> <!-- end of footer -->

        </div> <!-- end of wrapper -->

        <div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div></body>
</html>
